<?php

class Buffalo_Walker extends Walker_Category {

    function start_el(&$output, $category, $depth, $args) {
        $category_name = esc_attr($category->name);
        $link = '<a href="' . esc_attr(get_term_link($category)) . '">' . $category_name . '</a>';
        $output .='<li>' . $link;
    }

}

?>
